const express = require('express');
const router = express.Router();
const merchantController = require('../controllers/merchant.server.controller');

router
    .post('/login', merchantController.login)
    .put('/updateInfo', merchantController.updateInfo)
    .post('/regist',merchantController.regist)
    .get('/logout',merchantController.logout)
    .get('/loadMerchant',merchantController.loadMerchant)
    .post('/checkName', merchantController.checkmName)
module.exports = router;

